package common.entity.rank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author: 郑国荣
 * @Date: 2024-04-07-16:38
 * @Description:
 */
@Data
@TableName("goods_hot_with_month")
public class GoodsHotWithMonth {
    @TableId(value="good_id")
    private int goodId;
    @TableField("sales")
    private int sales;
    @TableField("view_count")
    private int viewCount;
    @TableField("collect_count")
    private int collectCount;
    @TableField("comment_count")
    private int commentCount;
    @TableField("user_count")
    private int userCount;
    @TableField("`year_month`") // year_month is a reserved word in MySQL
    private int yearMonth;
}
